<template>
<div>
    <router-link to="/trainingRoom/details">
      <div class="right-content" >
          <div class="card-wrapper">
              <div class="loadMoreList">
                  <div class="training-item">
                      <div style="display: flex">
                     
                          <div class="cover">
                            <img :src="ta?.cover" >
                          </div>
                        
                          <div>
                              <div class="title">
                                  {{ ta?.planName}}
                              </div>
                              <div class="time">已练习0次0分钟</div>
                          </div>
                      </div>
                      <div class="status">
                          <svg aria-hidden="true" class="icon icon">
                              <use xlink:href="#icon-practice_not"></use>
                          </svg>
                          <div class="detail-light">未开始</div>
                      </div>
                  </div>
              </div>
          </div>
      </div>
    </router-link>
    </div>
</template>
<script>
export default{
    props:["ta"]
}
</script>
<script setup lang="ts">


</script>

<style lang="scss" scoped>
.right-lower {
    .right-content {
    width: 100%;
    float: left;
    overflow: hidden;
    background-color: #fff;
    // margin-bottom: 20px;
    // padding: 0 20px 0;
    border-radius: 4px;
    // min-height: 700px;

    .card-wrapper {
        margin-top: 20px;
        padding-bottom: 20px;

        .loadMoreList {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-left: auto;
        margin-right: auto;
        -webkit-box-pack: start;

        .training-item {
            cursor: pointer;
            box-sizing: border-box;
            padding-top: 20px;
            padding-bottom: 20px;
            width: 100%;
            border-bottom: 1px solid #e3e3e3;
            display: flex;
            -webkit-box-pack: justify;
            justify-content: space-between;
            -webkit-box-align: center;
            align-items: center;
            padding: 20px;

            .cover {
            width: 169px;
            height: 101px;
            border-radius: 4px;
            background-size: cover;
            background-position: 50%;
            margin-right: 20px;
            background-color: #f93684;
            img{
                width: 100%;
                height: 100%;
            }
            }
        }

        .title {
            font-weight: 700;
            font-size: 16px;
            color: #111;
        }

        .time {
            margin-top: 25px;
            font-size: 14px;
            color: #7d8090;
        }

        .status {
            text-align: center;

            .icon {
            height: 22px;
            width: 22px;
            }

            .detail-light {
            margin-top: 9px;
            font-size: 14px;
            color: #7d8090;
            }
        }

        }
    }
    }
}
</style>
